<%@ page import="ar.org.sstuyv.Expediente" %>



<div class="fieldcontain ${hasErrors(bean: expedienteInstance, field: 'numero', 'error')} ">
	<label for="numero">
		<g:message code="expediente.numero.label" default="Numero" />
		
	</label>
	<g:field name="numero" type="number" value="${expedienteInstance.numero}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: expedienteInstance, field: 'alcance', 'error')} ">
	<label for="alcance">
		<g:message code="expediente.alcance.label" default="Alcance" />
		
	</label>
	<g:textField name="alcance" maxlength="40" value="${expedienteInstance?.alcance}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: expedienteInstance, field: 'cuerpo', 'error')} ">
	<label for="cuerpo">
		<g:message code="expediente.cuerpo.label" default="Cuerpo" />
		
	</label>
	<g:textField name="cuerpo" maxlength="40" value="${expedienteInstance?.cuerpo}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: expedienteInstance, field: 'extracto', 'error')} ">
	<label for="extracto">
		<g:message code="expediente.extracto.label" default="Extracto" />
		
	</label>
	<g:textField name="extracto" maxlength="40" value="${expedienteInstance?.extracto}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: expedienteInstance, field: 'fechaInicio', 'error')} ">
	<label for="fechaInicio">
		<g:message code="expediente.fechaInicio.label" default="Fecha Inicio" />
		
	</label>
	<g:datePicker name="fechaInicio" precision="day"  value="${expedienteInstance?.fechaInicio}" default="none" noSelection="['': '']" />
</div>

<div class="fieldcontain ${hasErrors(bean: expedienteInstance, field: 'tipoExpediente', 'error')} required">
	<label for="tipoExpediente">
		<g:message code="expediente.tipoExpediente.label" default="Tipo Expediente" />
		<span class="required-indicator">*</span>
	</label>
	<g:field name="tipoExpediente" type="number" value="${expedienteInstance.tipoExpediente}" required=""/>
</div>

<div class="fieldcontain ${hasErrors(bean: expedienteInstance, field: 'partido', 'error')} required">
	<label for="partido">
		<g:message code="expediente.partido.label" default="Partido" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="partido" name="partido.id" from="${ar.org.sstuyv.Partido.list()}" optionKey="id" required="" value="${expedienteInstance?.partido?.id}" class="many-to-one"/>
</div>

